#ifndef ACCOUNTINFO_H
#define ACCOUNTINFO_H

#include <QString>
#include <QDate>

typedef struct UserInfo
{
    int user_id;
    QString user_account;
    QString user_role;
}UserInfo;

typedef struct DepartmentInfo
{
    int dep_id;
    QString dep_name;
}DepartmentInfo;

typedef struct MajorInfo
{
    int major_id;
    QString major_name;
}MajorInfo;

typedef struct StudentInfo
{
    int student_id;
    QString student_name;
    QDate stu_birthday;
    QString stu_idcard;
    QString stu_sex;
}StudentInfo;

typedef struct TeacherInfo
{
    int tec_id;
    QString tec_name;
    QDate tec_birthday;
    QString tec_user;
    QString tec_account;
    QString tec_sex;
    QDate tec_joindate;
}TeacherInfo;

typedef struct ClassInfo
{
    int class_id;

    QString class_name;

    QString class_grade;

    QString class_teacher;

}ClassInfo;

#endif // ACCOUNTINFO_H
